<?php
/**
 * The template for displaying all single posts.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 * @package zsuper_mayi
 */

get_header(); ?>

	<div class="content_wrap clear">
		<div class="content fl">

		<?php
		while ( have_posts() ) : the_post();

			get_template_part( 'template-parts/content', get_post_format() );?>
		<!--前后文章导航-->
		<nav class="article-nav">
			<span class="article-nav-prev"><?php
               previous_post_link('<i class="fa fa-angle-double-left"></i> %link'); ?></span>
			<span class="article-nav-next"><?php
                next_post_link('%link  <i class="fa fa-angle-double-right"></i>'); ?></span>
		</nav><!--end 前后文章导航-->

			<?php // If comments are open or we have at least one comment, load up the comment template.
			if ( comments_open() || get_comments_number() ) :
				comments_template();
			endif;

		endwhile; // End of the loop.
		?>

		</div>
		<!--左侧内容结束-->
	<?php get_sidebar(); ?>
	</div>

<?php
get_footer();
